LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

$(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_SRC_FILES := hellocpp/main.cpp \
                   ../../Classes/AppDelegate.cpp\
                   ../../Classes/DataRepository.cpp\
                   ../../Classes/GNS_ClientHall.cpp\
                   ../../Classes/GNS_ClientLogin.cpp\
                   ../../Classes/GNS_FriendLayer.cpp\
                   ../../Classes/GNS_GameManage.cpp\
                   ../../Classes/GNS_HallScene.cpp\
                   ../../Classes/GNS_LoadScene.cpp\
                   ../../Classes/GNS_LoginScene.cpp\
                   ../../Classes/GNS_PlayerMgr.cpp\
                   ../../Classes/GNS_QRLayer.cpp\
                   ../../Classes/GNS_RankLayer.cpp\
                   ../../Classes/GNS_SceneMgr.cpp\
                   ../../Classes/GNS_SendGoldWnd.cpp\
                   ../../Classes/GNS_SendMsgWnd.cpp\
                   ../../Classes/GNS_ServiceLayer.cpp\
                   ../../Classes/GNS_SetMyInfo.cpp\
                   ../../Classes/GNS_SingLayer.cpp\
                   ../../Classes/GNS_SysTenLayer.cpp\
                   ../../Classes/GNS_TickLayer.cpp\
                   ../../Classes/GNS_TipsWnd.cpp\
                   ../../Classes/GNS_YJFLayer.cpp\
                   ../../Classes/Launcher.cpp\
                   ../../Classes/PopWndLayer.cpp\
                   ../../Classes/QR_Encode.cpp\
                   

LOCAL_SRC_FILES := $(LOCAL_PATH)/../../Classes

LOCAL_SRC_FILES := $(LOCAL_PATH)/../../GnsFrame
LOCAL_C_INCLUDES += $(shell ls -FR $(LOCAL_C_INCLUDES) | grep $(LOCAL_PATH)/$ )
LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES:$(LOCAL_PATH)/%:=$(LOCAL_PATH)/%)


# _COCOS_HEADER_ANDROID_BEGIN
# _COCOS_HEADER_ANDROID_END


LOCAL_STATIC_LIBRARIES := cocos2dx_static


# _COCOS_LIB_ANDROID_BEGIN
# _COCOS_LIB_ANDROID_END

include $(BUILD_SHARED_LIBRARY)

$(call import-module,.)


# _COCOS_LIB_IMPORT_ANDROID_BEGIN
# _COCOS_LIB_IMPORT_ANDROID_END
